﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;

namespace HRP.Utilidades
{
    public static class DefinicoesSite
    {
        public static int EventosDetalheNoID = Convert.ToInt32(ConfigurationManager.AppSettings["Umbraco_Node_Eventos_Detalhe"]);
        public static int EventoInicioContratoID = Convert.ToInt32(ConfigurationManager.AppSettings["EventoInicioContratoID"]);
        public static int EventoFimContratoID = Convert.ToInt32(ConfigurationManager.AppSettings["EventoFimContratoID"]);
        public static int EventoFaltaJustificadaID = Convert.ToInt32(ConfigurationManager.AppSettings["EventoFaltaJustificadaID"]);
        public static int EventoFaltaInjustificadaID = Convert.ToInt32(ConfigurationManager.AppSettings["EventoFaltaInjustificadaID"]);
        public static int EventoHoraExtraID = Convert.ToInt32(ConfigurationManager.AppSettings["EventoHoraExtraID"]);
        public static DateTime DataFimAbsurda = new DateTime(2999, 12, 31, 23, 59, 59);
        public static string DataFormato = "yyyy-MM-dd";
        public static string DataFormatoHora = "yyyy-MM-dd HH:mm";
        public static int primeiraHora = 0;
        public static int ultimaHora = 23;

        public struct EstadoAdiantamento
        {
            //isto nao esta assim ja, passei para true e false bool
            public const int Cancelado = 2;
            public const int Pago = 1;
        }
    }
}